package com.zdb.demo.design.principle.dependenceinversion;

public class Student1 {

    public static void main(String[] args) {
        Student1 student1 = new Student1();
        student1.studyJavaCourse();
        student1.studyPythonCourse();
    }

    public void studyJavaCourse() {
        System.out.println("-- 学习java课程 --");
    }
    public void studyPythonCourse() {
        System.out.println("-- 学习python课程 --");
    }
}
